<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" lang="zh" xml:lang="zh">
<head>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>工具向导: 使用 Rational Rose 记录&ldquo;流程&rdquo;视图</title>
<meta content="ToolMentor" name="uma.type">
<meta content="document_process_view" name="uma.name">
<meta content="使用 Rational Rose 记录&ldquo;流程&rdquo;视图" name="uma.presentationName">
<meta content="Tool:rup_rose_classic:Rational Rose" name="uma.category">
<meta name="element_type" content="tool_mentor">
<meta content="Rational Rose" name="tool">
<meta content="description" name="filetype">
<meta name="role" content="">
<link type="text/css" href="./../../../css/default.css" rel="StyleSheet">
<script language="JavaScript" type="text/javascript" src="./../../../scripts/ContentPageResource.js"></script><script language="JavaScript" type="text/javascript" src="./../../../scripts/ContentPageSection.js"></script><script language="JavaScript" type="text/javascript" src="./../../../scripts/ContentPageSubSection.js"></script><script language="JavaScript" type="text/javascript" src="./../../../scripts/ContentPageToolbar.js"></script><script language="JavaScript" type="text/javascript" src="./../../../scripts/contentPage.js"></script><script language="JavaScript" type="text/javascript">
					var backPath = './../../../';
					var imgPath = './../../../images/';
					var nodeInfo=[{view: "view:_LVCagP5WEdmAzesbYywanQ", path: ["_LVCagP5WEdmAzesbYywanQ", "_gpYSoAILEdq-_NKqZM1EhA", "_qS-iwAIOEdqTna4sZVFRow", "{06FB737B-5D74-4C3B-98F4-36153CFB2E34}", "{059DD277-2FC8-4977-836A-2EDAF219655F}"]}, {view: "view:_LVCagP5WEdmAzesbYywanQ", path: ["_LVCagP5WEdmAzesbYywanQ", "_zRigkAILEdq-_NKqZM1EhA", "_U5tiUAISEdqTna4sZVFRow", "{06FB737B-5D74-4C3B-98F4-36153CFB2E34}", "{059DD277-2FC8-4977-836A-2EDAF219655F}"]}, {view: "view:_LVCagP5WEdmAzesbYywanQ", path: ["_LVCagP5WEdmAzesbYywanQ", "_AUv4MAIMEdq-_NKqZM1EhA", "_5ZuQsAIUEdqEutyfYo0quQ", "{06FB737B-5D74-4C3B-98F4-36153CFB2E34}", "{059DD277-2FC8-4977-836A-2EDAF219655F}"]}, {view: "view:_FCx1oN7CEdmsEI4YDGX2ag", path: ["_FCx1oN7CEdmsEI4YDGX2ag", "_jD8dUAIbEdqEutyfYo0quQ", "_F1OgYAIbEdqEutyfYo0quQ", "{06FB737B-5D74-4C3B-98F4-36153CFB2E34}", "{059DD277-2FC8-4977-836A-2EDAF219655F}"]}];
					contentPage.preload(imgPath, backPath, nodeInfo,  '', false, false, false);
				</script>
</head>
<body>
<div id="breadcrumbs"></div>
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td valign="top"><a name="Top"></a>
<div id="page-guid" value="{059DD277-2FC8-4977-836A-2EDAF219655F}"></div>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap="true" class="pageTitle">工具向导：使用 Rational Rose 记录&ldquo;流程&rdquo;视图</td><td width="100%">
<div id="contentPageToolbar" align="right"></div>
</td>
</tr>
</table>
<table cellspacing="0" cellpadding="0" border="0" width="100%">
<tr>
<td class="pageTitleSeparator"><img height="1" title="" alt="" src="./../../../images/shim.gif"></td>
</tr>
</table>
<div class="overview">
<table cellpadding="0" cellspacing="0" border="0" width="97%">
<tr>
<td width="50"><img title="" alt="" src="./../../../images/toolmentor.gif"></td><td>
<table cellpadding="0" cellspacing="0" border="0" class="overviewTable">
<tr>
<td valign="top">此工具向导描述在 Rational Rose 中如何表示“流程”视图和相关工作产品。</td>
</tr>
<tr>
<td>工具：<a href="./../../../core.base_rup/tools/rup_rose_classic_20F2524D.html" guid="{06FB737B-5D74-4C3B-98F4-36153CFB2E34}">Rational Rose</a></td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<div class="sectionHeading">关系</div>
<div class="sectionContent">
<table cellpadding="0" cellspacing="0" border="0" class="sectionTable">
<tr valign="top">
<th scope="row" class="sectionTableHeading">相关元素</th><td class="sectionTableCell">
<ul>
<li>
<a href="./../../../core.base_rup/tasks/describe_runtime_architecture_2F8E190.html" guid="{4D35C038-A2D0-48B8-9ECD-52717FEAE33A}">描述运行时体系结构</a>
</li>
</ul>
</td>
</tr>
</table>
</div>
<div class="sectionHeading">主要描述</div>
<div class="sectionContent">
<table cellpadding="0" cellspacing="0" border="0" class="sectionTable">
<tr valign="top">
<td class="sectionTableSingleCell"><a id="Top" name="Top"></a> 
<h3>
    概述
</h3>
<p>
    以下是管理“流程”视图要执行的步骤摘要：
</p>
<ol>
    <li class="mvd-P">
        <p>
            <a class="elementLinkWithUserText" href="./../../../core.base_rup/guidances/toolmentors/document_process_view_6026C17A.html" guid="{059DD277-2FC8-4977-836A-2EDAF219655F}">在<b><span             style="FONT-WEIGHT: normal">“逻辑”视图</span></b>中创建<b><span style="FONT-WEIGHT: normal">“流程”视图</span></b></a>
        </p>
    </li>
    <li class="mvd-P">
        <a class="elementLinkWithUserText" href="./../../../core.base_rup/guidances/toolmentors/document_process_view_6026C17A.html" guid="{059DD277-2FC8-4977-836A-2EDAF219655F}">使用流程模型中的“活动类”表示流程</a>
    </li>
    <li class="mvd-P">
        <a class="elementLinkWithUserText" href="./../../../core.base_rup/guidances/toolmentors/document_process_view_6026C17A.html" guid="{059DD277-2FC8-4977-836A-2EDAF219655F}">表示流程和线程生命周期</a>
    </li>
    <li class="mvd-P">
        <a class="elementLinkWithUserText" href="./../../../core.base_rup/guidances/toolmentors/document_process_view_6026C17A.html" guid="{059DD277-2FC8-4977-836A-2EDAF219655F}">将类分配到流程和线程</a>
    </li>
</ol>
<h3>
    1. <a id="Creating the Process Model in the Rational Rose (TM) Logical View" name="Creating the Process Model in the Rational Rose (TM) Logical View"></a>在<b>“逻辑”视图</b>中创建<b>“流程”视图</b><a class="elementLinkWithUserText" href="./../../../core.base_rup/guidances/toolmentors/document_process_view_6026C17A.html" guid="{059DD277-2FC8-4977-836A-2EDAF219655F}"><img height="20" alt="回到页首" hspace="0" src="./../../../core.base_rup/resources/top.gif"     width="26" border="0" /></a>
</h3>
<p>
    可通过在“逻辑”视图内创建程序包并将其命名为“流程视图”来表示“流程”视图。
</p>
<h3>
    2. <a id="Representing Processes using 'Active Classes' in the Process Model" name="Representing Processes using 'Active Classes' in the Process Model"></a>使用流程模型中的“活动类”<br />
     表示流程<a class="elementLinkWithUserText" href="./../../../core.base_rup/guidances/toolmentors/document_process_view_6026C17A.html" guid="{059DD277-2FC8-4977-836A-2EDAF219655F}"><img height="20" alt="回到页首" hspace="0" src="./../../../core.base_rup/resources/top.gif"     width="26" border="0" /></a>
</h3>
<p>
    UML 在“流程”视图中将流程和线程表示为<b>活动类</b>。可通过创建类并为其分配构造型 &lt;process&gt; 或 &lt;thread&gt; 在“流程”视图中创建活动类。
</p>
<h3>
    3. <a id="Representing Process and Thread Life-cycles" name="Representing Process and Thread Life-cycles"></a>表示流程和线程生命周期<a class="elementLinkWithUserText" href="./../../../core.base_rup/guidances/toolmentors/document_process_view_6026C17A.html" guid="{059DD277-2FC8-4977-836A-2EDAF219655F}"><img height="20" alt="回到页首" hspace="0" src="./../../../core.base_rup/resources/top.gif"     width="26" border="0" /></a>
</h3>
<p>
    使用时序图可表示流程和线程生命周期。每个流程或线程都必须出现在创建或破坏它的时序图中。此外，使用额外的时序图说明复杂的流程间通信和线程间通信是很有用的。这些时序图应使用在其中发生行为的用例实现来组织。
</p>
<p>
    创建时序图并在其中创建对象时，请将显示第一个消息的发起方的标注约定视为接口本身。
</p>
<p>
    <img height="16" alt="帮助手册图标" hspace="0" src="./../../../core.base_rup/resources/helpbook.gif" width="16" border="0" /> 有关时序图的更多信息，请参阅
    Rational Rose 联机帮助中的 <span style="FONT-STYLE: italic">Sequence Diagrams (Overview)</span> 主题。
</p>
<h3>
    4. <a id="Allocating Classes to Processes and Threads" name="Allocating Classes to Processes and Threads"></a>将类分配到流程和线程<a class="elementLinkWithUserText" href="./../../../core.base_rup/guidances/toolmentors/document_process_view_6026C17A.html" guid="{059DD277-2FC8-4977-836A-2EDAF219655F}"><img height="20" alt="回到页首" hspace="0" src="./../../../core.base_rup/resources/top.gif"     width="26" border="0" /></a>
</h3>
<p>
    可将类和子系统分配到一个或多个流程和线程。流程和线程由类和子系统的实例组成。要显示该分配，请创建将流程和线程作为活动类建模的类图。请使用聚集关系显示活动类的组合。创建聚集关系时，请使用聚集规范为“角色 A”设置 By Value
    包含规则。
</p></td>
</tr>
</table>
</div>
<table cellpadding="0" cellspacing="0" border="0" class="copyright">
<tr>
<td class="copyright"><p>
    &copy; &nbsp;Copyright IBM Corp.&nbsp;1987, 2006. &nbsp;All Rights Reserved.
</p></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
<script language="JavaScript" type="text/javascript">
				contentPage.onload();
			</script>
</html>
